﻿using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace WinformToolkit.Navigations
{
    public class NavigationDefinition
    {
        /// <summary>
        /// 所有的导航列表
        /// </summary>
        [JsonProperty("navigations")]
        public List<NavigationItem> Items { get; private set; }

        /// <summary>
        /// 默认选中的菜单ID
        /// </summary>
        [JsonProperty("selectedItem")]
        public string SelectedItem { get; set; }

        public NavigationDefinition()
        {
            this.Items = new List<NavigationItem>();
        }
    }
}
